package com.servertrack;

import java.util.Date;

public class Company {

	 String title
	   String email
	   Date dateCreated

		static hasMany=[tur:Tur]

		static constraints = {
			title(size: 2..50, blank: false, unique: true)
			email(email: true, nullable: true)
			dateCreated(nullable: true)
		}

		public String toString(){
			return "Company: ${title}"
		}
}
